<?php
    @header('Content-type:text/html;charset=utf-8');

    function NoParamsErr($status=false,$detail="请传入完整的参数"){
        $obj = array();
        $obj['status'] = $status;
        $obj['detail'] = $detail;
        exit(json_encode($obj));
    }
?>